<template>
  <div id='app'>
        <h1>HOME</h1>
    </div>
</template>

<script>
import {mapState} from 'vuex';
export default {
  name: 'Home',
  props: {
  
  },
  computed:{
    ...mapState(['count'])
  },
  created() {
    console.log(1111);
    console.log(this.$store.state.count);
    console.log('count',this.count);
  }
}
</script>
<style scoped>

</style>

